<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        
        <div class="layui-form-item">
            <label class="layui-form-label">达人名称</label>
            <div class="layui-input-block">
                <input type="text" readonly class="layui-input"  value="{$row.service_technician_name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">类型</label>
            <div class="layui-input-block">
                {if condition="$row.type eq 1"}
                <input type="text" readonly class="layui-input"  value="视频">
                {/if}
                {if condition="$row.type eq 2"}
                <input type="text" readonly class="layui-input"  value="图片">
                {/if}
            </div>
        </div>

        {if condition="$row.type eq 1"}
       
        <div class="layui-form-item">
            <label class="layui-form-label">视频</label>
            <div class="playVideo-layout">
                <video id="video" muted src="{$row.video_url|default=''}"  width="300" height="200" controls style="background: #000;"></video>
            </div>
        </div>
        {/if}
        {if condition="$row.type eq 2"}
        <div class="layui-form-item">
            <label class="layui-form-label">动态图片</label>
            <div class="layui-input-block layuimini-upload">
                <input name="image" type="hidden" class="layui-input layui-col-xs6" readonly  value="{$row.img|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a  data-upload="image" data-upload-number="more" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"></a></span>
                </div>
            </div>
        </div>

        {/if}
        <div class="layui-form-item">
            <label class="layui-form-label">内容</label>
            <div class="layui-input-block">
                <textarea name="content" rows="10" class="layui-textarea" >{$row.content|raw|default=''}</textarea>
            </div>
        </div>
        <div class="hr-line"></div>
       

    </form>
</div>